package com.coolwen.entity;

import java.util.Date;

public class Group {
    private Integer groupId;

    private Integer groupInitiatorId;

    private Integer typeId;

    private Double priceOriginal;

    private Double price;

    private String groupTitle;

    private String groupDetail;

    private String imgAddress;

    private Integer groupTargetNumber;

    private Integer groupState;

    private User user;

    private Date startTime;

    private Integer nowUserNumber;

    public Integer getNowUserNumber() {
        return nowUserNumber;
    }

    public void setNowUserNumber(Integer nowUserNumber) {
        this.nowUserNumber = nowUserNumber;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Integer getGroupInitiatorId() {
        return groupInitiatorId;
    }

    public void setGroupInitiatorId(Integer groupInitiatorId) {
        this.groupInitiatorId = groupInitiatorId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Double getPriceOriginal() {
        return priceOriginal;
    }

    public void setPriceOriginal(Double priceOriginal) {
        this.priceOriginal = priceOriginal;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getGroupTitle() {
        return groupTitle;
    }

    public void setGroupTitle(String groupTitle) {
        this.groupTitle = groupTitle == null ? null : groupTitle.trim();
    }

    public String getGroupDetail() {
        return groupDetail;
    }

    public void setGroupDetail(String groupDetail) {
        this.groupDetail = groupDetail == null ? null : groupDetail.trim();
    }

    public String getImgAddress() {
        return imgAddress;
    }

    public void setImgAddress(String imgAddress) {
        this.imgAddress = imgAddress == null ? null : imgAddress.trim();
    }

    public Integer getGroupTargetNumber() {
        return groupTargetNumber;
    }

    public void setGroupTargetNumber(Integer groupTargetNumber) {
        this.groupTargetNumber = groupTargetNumber;
    }

    public Integer getGroupState() {
        return groupState;
    }

    public void setGroupState(Integer groupState) {
        this.groupState = groupState;
    }
}